From fa249f4edcedac2edb0db55f9f6b9829b3b0e856 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 23 Nov 2009 07:07:08 +0000 Subject: [PATCH] Remus: fix a warning This patch fixes the following warning: xen/lowlevel/checkpoint/libcheckpoint.c: In function `delete_suspend_timer': xen/lowlevel/checkpoint/libcheckpoint.c:352: warning: assignment makes integer from pointer without a cast Signed-off-by: KUWAMURA Shin'ya --- tools/python/xen/lowlevel/checkpoint/libcheckpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c index 9c3e747d5b..027feb3cca 100644 --- a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c +++ b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c @@ -349,7 +349,7 @@ int delete_suspend_timer(checkpoint_state* s) if (s->timer) { if ((rc = timer_delete(s->timer))) fprintf(stderr, "Error deleting timer: %s\n", strerror(errno)); - s->timer = NULL; + s->timer = 0; } return rc; -- 2.30.2